<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('选择人员')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input
                    id="c-admin_id"
                    data-rule="required"
                    data-field="nickname"
                    data-source="auth/admin/selectpage"
                    data-params='{"custom[identity]":"{$admin_identity}"}'
                    class="form-control selectpage"
                    name="row[admin_id]"
                    value=""
            />
        </div>
    </div>

    <input name="row[package_id]" type="hidden" value="{$package_id}">
    <input name="row[identity]" type="hidden" value="{$identity}">
    <!--    <div class="form-group">-->
    <!--        <label class="control-label col-xs-12 col-sm-2">{:__('Identity')}:</label>-->
    <!--        <div class="col-xs-12 col-sm-8">-->
    <!--            <input id="c-identity" data-rule="required" class="form-control" name="row[identity]" type="number"-->
    <!--                   value="0">-->
    <!--        </div>-->
    <!--    </div>-->
    <!--    <div class="form-group">-->
    <!--        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>-->
    <!--        <div class="col-xs-12 col-sm-8">-->
    <!--            <input id="c-create_time" data-rule="required" class="form-control datetimepicker"-->
    <!--                   data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text"-->
    <!--                   value="{:date('Y-m-d H:i:s')}">-->
    <!--        </div>-->
    <!--    </div>-->
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
